import request from '@/utils/request'
// gasManage:defaultSetting:gasMeterInfo:list
export function searchGasMeterInfoApi(query) {
    return request({
        url: '/meter/meterInfo/list',
        method: 'get',
        params: query
    })
}
// gasManage:defaultSetting:gasMeterInfo:add
export function addGasMeterInfoApi(data) {
    return request({
        url: '/meter/meterInfo',
        method: 'post',
        data: data
    })
}
// gasManage:defaultSetting:gasMeterInfo:list
export function searchGasMeterInfoByIdApi(id){
    return request({
        url: '/meter/meterInfo/'+id,
        method: 'get'
    })
}
// gasManage:defaultSetting:gasMeterInfo:edit
export function editGasMeterInfoApi(data){
    return request({
        url: '/meter/meterInfo',
        method: 'put',
        data: data
    })
}
// gasManage:defaultSetting:gasMeterInfo:delete
export function deleteGasMeterInfoApi(id) {
    return request({
        url: '/meter/meterInfo/delete/'+id,
        method: 'delete'
    })
}